package store.lunangangster.bpmn.model;

/**
 * SendTask是最简单的一种{@link Task}，旨在向外界 (相对于当前的流程{@link Process})发送{@link Message}。
 * 一旦消息发送完成，SendTask也完成任务(completed)
 *
 * @author cwk
 * @version 1.0
 */
public class SendTask extends Task {

  protected String messageRef;
  protected String operationRef;
  protected String implementation;

  public String getMessageRef() {
    return messageRef;
  }

  public void setMessageRef(String messageRef) {
    this.messageRef = messageRef;
  }

  public String getOperationRef() {
    return operationRef;
  }

  public void setOperationRef(String operationRef) {
    this.operationRef = operationRef;
  }

  public String getImplementation() {
    return implementation;
  }

  public void setImplementation(String implementation) {
    this.implementation = implementation;
  }

  @Override
  public String getModelType() {
    return "SEND_TASK";
  }
}
